package com.stud.framework.aop;

import org.apache.commons.lang3.StringUtils;
import org.springframework.core.convert.converter.Converter;

/**
 * @author gyc
 * @title: DateConverter
 * @projectName app
 * @date 2019/8/1914:36
 * @description: 时间转换类
 */
public class CourseStringConverter implements Converter<String, String> {
    @Override
    public String convert(String value) {
        if (StringUtils.isBlank(value)) {
            return null;
        }
        return value;
    }
}

